package org.example.configdemo.facade;

public class FacadeClient {
    private Light hallLight = new HallLight();
    private Light bedLight = new BedroomLight();
    private Light livingLight = new LivingroomLight();

    public void onAll() {
       hallLight.on();
       bedLight.on();
       livingLight.on();
    }
    public void offAll() {
        hallLight.off();
        bedLight.off();
        livingLight.off();
    }
}
